<%@ page import="gov.pr.celepar.sentinela.client.dao.*" %>
<%@ page import="gov.pr.celepar.sentinela.client.dao.factory.*" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" >
<html>
<head>
	<title>Sentinela - Monitoramento</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

</head>
<body>
<h1 align="center">
Sistema Sentinela
</h1>
<br /><br /><br /><br />
<h1 align="center">
STATUS:
<%
	AdministracaoDAO dao = null;
	DAOFactoryClient daoFactory = DAOFactoryClient.getDAOFactory();
	dao = daoFactory.getAdministracaoDAO();
	try {
		dao.recuperaParametrosConfiguracao();
		out.println("<font color='blue'>Sistema operando normalmente</font>");
	}
	catch(Exception e){
		e.printStackTrace();
		out.println("<font color=red>Foi localizado um erro: <b>" +e.toString()+"</b></font>");
	}
%>
</h1>
</body>
</html>